<div class="content-header">
    <h1>Members Management <small>| <?php echo $role != '' ? ucwords($role) : 'All'; ?></small></h1>
</div>
<!-- Keep all page content within the page-content inset div! -->
<div class="page-content inset">    
    <div class="row">
        <div class="col-sm-12">
            <div  class="search-bar pull-left">
                <input  type="text" class="form-control" placeholder="Search <?php echo ucwords($role); ?>..." id="datatable_custom_search">
            </div>
            <div class="input-group search-bar date-range-bar pull-left hide">
                <span class="input-group-btn">
                    <button class="btn btn-default" type="button"><i class="icon-calendar"></i></button>
                </span>
                <input id="datePicker" type="text" class="form-control" placeholder="Date Range...">
            </div>
            <span class="pull-left">
                <button id="datatable_custom_search_btn" class="btn btn-success" type="button"><i class="icon-search"></i> Search</button>
            </span>
            <?php if (is_admin()): ?>
                <a href="<?php echo base_url('backend/member/create'); ?>" class="btn btn-primary pull-right" type="button"><i class="icon-plus"></i> Add User</a>
            <?php endif; ?>
        </div>
    </div>

    <div>
        <table class="table table-striped m-b-none text-small datatable" style="border:0;" data-source="<?php echo base_url(); ?>backend/member/json_data/<?php echo $role; ?>">
            <thead>
                <tr>
                    <th data-toggle="class">ID.</th>
                    <th data-toggle="class">Username</th>
                    <th data-toggle="class">Name</th>
                    <th data-toggle="class">Contact No.</th>
                    <th data-toggle="class">Email</th>
                    <th class="un-sortable" data-toggle="class">Controls</th>
                </tr>
            </thead>
            <tbody>
            </tbody>
        </table>
    </div>
</div>
<!--</div>
<div id="content">
    <section class="main padder">
        <div class="separate"></div>
        <h4><i class="icon-user"></i> Members Management<small> | <?php echo $role != '' ? ucwords($role) : 'All'; ?></small></h4>
<?php if (is_admin()): ?>
                    <div class="row">
                        <div class="col-xs-12">
                            <a href="<?php echo base_url('backend/member/create'); ?>" class="btn btn-primary pull-left" style="margin: 10px 0 15px;" type="button"><i class="icon-plus"></i> Add User</a>
                        </div>
                    </div>
<?php endif; ?>
         booking table 
        <section class="panel">
            <div>
                <section>
                     search filter 
                    <div class="row">
                        
                    
                </section>
            </div>
        </section>
    </section>
</div>-->